<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %>
<fmt:setBundle basename="messages.entrada"/>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html><head><title>GPS-o&ugrave;</title> 



  
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <script type="text/JavaScript">
<!--
function envia() {
        if (document.form1.login.value=="" && document.form1.password.value=="") {
                alert('<fmt:message key="msg.1"/>');
		document.form1.login.focus();
		return false;
        }else if (document.form1.login.value=="") {
                alert('<fmt:message key="msg.2"/>');
		document.form1.login.focus();
		return false;
        } else if (document.form1.password.value=="") {
                alert('<fmt:message key="msg.3"/>');
		document.form1.password.focus();
		return false;
        } else {
		document.getElementById("espera").style.visibility="visible";
		return true;
	}
}

//-->
  </script>

<style type="text/css">
  a {color: black}
  p.tittle {color: black;
		text-align: center;
		font-size: xx-large;
		font-weight: bold}
  p.campos {color: black;
		font-weight: bold}
  p.link {color: black}
  p.title2 {color:black; font-size:large; font-weight: bold}
</style></head>


<body onload="document.form1.login.focus();">

<div style="position:absoute; text-align: right; visibility: hidden" id="espera">
  <img src="/VEGPS/html/images/wait30trans.gif" alt="wait">
</div>

<div style="text-align: center">
<form name="form1" action="/VEGPS/ServletGoogleGPS" method="post" onsubmit="return envia()">
<p><input type="hidden" name="p" value="login"></p>
<table border="0" cellspacing="0" style="margin-left: auto; margin-right: auto">
	<tr>
		<td style="background: #FFFFCC">
		<p class="title2"><fmt:message key="user.text"/></p>
		<table>
      <tr>
		<td>
		<p class="campos"><fmt:message key="user.name"/></td>
		<td>
		<input name="login" title="<fmt:message key="user.name.title"/>" size="12" maxlength="12" onchange="document.form1.password.focus();" type="text"> </td>
	 </tr>
	 <tr align="right">
		<td>
		<p class="campos"><fmt:message key="user.passwd"/></td>
		<td>
		<input name="password" title="<fmt:message key="user.passwd.title"/>" size="12" maxlength="12" type="password"> </td>
		<td><p class="link">&nbsp;&iquest;<a title="<fmt:message key="user.passwd.link.title"/>" href="/VEGPS/jsp/RecuperarClave.jsp"><fmt:message key="user.passwd.link"/></a>?</p></td>
	 </tr>
	 <tr align="center">
		<td>
        </td>
		<td><input title="<fmt:message key="user.button.title"/>" value="<fmt:message key="user.button"/>" type="submit"></td>
	 </tr>
	
  </table>
  		</td>
		<td rowspan="2" align="center">
		<img src="/VEGPS/html/images/GPSou-logo.png" width="530" height="303" alt="GPS-o&ugrave;"></td>
	</tr>
	<tr>
		<td style="background: #CCFFCC">
		<p class="title2"><fmt:message key="new.text"/></p>
		<p class="link">&iexcl;<a title="<fmt:message key="new.link.title"/>" href="/VEGPS/jsp/NuevoUsuario.jsp"><fmt:message key="new.link"/></a> 
		<fmt:message key="new.info"/>!</td>
	</tr>
	<tr>
		<td colspan="2">
  &nbsp;<p><a title="<fmt:message key="menu.1.title"/>" href="/VEGPS/jsp/Informacion.jsp"><fmt:message key="menu.1"/></a> | 
	<a title="<fmt:message key="menu.2.title"/>" href="mailto:contacto@gpsou.es?subject=<fmt:message key="mail.subject"/>"><fmt:message key="menu.2"/></a>
  		</p>
  		<p>&nbsp;</td>
	</tr>
	<tr>
		<td colspan="2">
		<p class="link"><a href="http://validator.w3.org/check?uri=referer"><img src="/VEGPS/html/images/valid-html401.png" alt="Valid HTML 4.01 Strict" height="31" width="88"></a></td>
	</tr>
	</table>
  <p>
    &nbsp;</p>
    </form>
    
    </div>

</body></html>
